package com.oedtech.esl.json;

/**
 * @Author QiuLongYu
 * @Date 2019/7/29
 *
 * 苏宁接口本地回调参数
 */
public class SNJSONObject {
    private String status_no;
    private String errmsg;
    private String user;

    public SNJSONObject(){}

    /**
     * 成功返回
     * @param user
     */
    public SNJSONObject(String user) {
        this.status_no = "0";
        this.user = user;
    }

    /**
     * 失败返回
     * @param status_no
     * @param errmsg
     * @param user
     */
    public SNJSONObject(String status_no, String errmsg, String user) {
        this.status_no = status_no;
        this.errmsg = errmsg;
        this.user = user;
    }



    public String getStatus_no() {
        return status_no;
    }

    public void setStatus_no(String status_no) {
        this.status_no = status_no;
    }

    public String getErrmsg() {
        return errmsg;
    }

    public void setErrmsg(String errmsg) {
        this.errmsg = errmsg;
    }

    public String getUser() {
        return user;
    }

    public void setUser(String user) {
        this.user = user;
    }

}
